
<%@ page language="java" import=" myUtils.Constants,myUtils.page.*,java.util.*,po.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<s:include value="/layout/header.jsp" />
<SCRIPT language="javascript" src="js/page-navigater.js"></SCRIPT>
<!-- B.1 MAIN CONTENT -->
<%
   Result checked=(Result)request.getAttribute("checked");
   Result unchecked=(Result)request.getAttribute("unchecked");
   List checkedContent=checked.getContent();
   Page checkedP=checked.getPage();
   List uncheckedContent=unchecked.getContent();
   Page uncheckedP=unchecked.getPage();
   String id=(String)request.getAttribute("id");
%>


<div class="main-content">
    <!-- Content unit - One column -->
  <h1 class="pagetitle">成员列表</h1>

        <div class="column1-unit">
         <h1 class="block">已审核</h1>
         <table>
            <tr><th class="top" scope="col">姓名</th>
			<th class="top" scope="col">学号</th>
			<th class="top" scope="col">联系方式</th>
			<th class="top" scope="col">住址</th>
			<th class="top" scope="col">评分</th>
			<th class="top" scope="col">操作</th>
			</tr>
            <%for(int i=0;i<checkedContent.size();++i)
            {
                User user=(User)checkedContent.get(i);
                //User user=uor.getUser();
                if(user!=null){
                %>
                <tr><th scope="row"><a href="#"><%=user.getName()%></a></th><td><%=user.getNumber()%></td>
                <td><%=user.getPhoneNum()%></td><td><%=user.getAddress()%></td><td>未知</td>
                <td><a href="deletemember.action?user_id=<%=user.getId()%>&org_id=<%=id%>">删除</a></td></tr>
            <%}}%>
            
          </table>
		  <p class="caption"><a href="checkedmemberlist.action?id=<%=id%>">更多...</a></p>

		  <h1 class="block">待审核</h1>
         <table>
            <tr><th class="top" scope="col">姓名</th>
			<th class="top" scope="col">学号</th>
			<th class="top" scope="col">联系方式</th>
			<th class="top" scope="col">住址</th>
			<th class="top" scope="col">操作</th>
			</tr>
            <%for(int i=0;i<uncheckedContent.size();++i)
            {
                User user=(User)uncheckedContent.get(i);
                //User user=uor.getUser();
                if(user!=null){
                %>
                <tr><th scope="row"><a href="#"><%=user.getName()%></a></th><td><%=user.getNumber()%></td>
                <td><%=user.getPhoneNum()%></td><td><%=user.getAddress()%></td><td>无</td>
                <td><a href="orgapproveuser.action?user_id=<%=user.getId()%>&org_id=<%=id%>">通过</a></td></tr>
            <%}}%>
          </table>
		  <p class="caption"><a href="#">更多...</a></p>
        </div>

        <hr class="clear-contentunit" />

           
</div>
                
<s:include value="/layout/footer.jsp"/>